package edu.study.user.api.req.roleuser;

import java.util.List;

import javax.validation.constraints.NotNull;

import edu.study.api.common.dto.BaseReqDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@ApiModel("角色用户")
public class RoleUserReq extends BaseReqDto {

    /**
	 *
	 */
	private static final long serialVersionUID = -731538599642082271L;

	@ApiModelProperty(value = "角色编号", example = "", required = true)
	@NotNull(message = "角色编号不能为空")
    private String roleNo;
	
	@ApiModelProperty(value = "用户编号列表", example = "", required = true)
	@NotNull(message = "用户编号列表不能为空")
    private List<String> userNoList;
}
